package com.ky.tms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ky.tms.entity.TmsCost;
import com.ky.tms.entity.TmsOrder;
import com.ky.tms.exception.PredictableException;
import com.ky.tms.vo.OrderIncomeAudit;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

public interface ITmsReportService {

    IPage<OrderIncomeAudit> reportOrderPage(String userNam, TmsOrder tmsOrder, Long limit, Long pages);

    List<OrderIncomeAudit> incomeBar(TmsOrder order);

    void entryOrderTemplate(HttpServletResponse response) throws PredictableException;

    void orderExport(TmsOrder tmsOrder, HttpServletResponse response)throws PredictableException;

    void costExport(TmsCost tmsCost, HttpServletResponse response) throws PredictableException;
}
